* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #f4f4f9 0%, #e4e4f3 100%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
.decoration {
    position: absolute;
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    background-color: rgba(135, 206, 250, 0.2);
    top: 10%;
    left: 5%;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    background-color: rgba(100, 149, 237, 0.2);
    top: 30%;
    right: 10%;
}

.decoration-3 {
    width: 250px;
    height: 250px;
    background-color: rgba(70, 130, 180, 0.2);
    bottom: 15%;
    left: 20%;
}

/* 导航栏样式 */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    text-decoration: none;
}

.logo i {
    font-size: 28px;
}

/* 内容容器 */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

/* 欢迎文本 */
.welcome-text {
    flex: 1;
    max-width: 500px;
    color: #2c3e50;
    padding-right: 40px;
}

.welcome-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.welcome-text h1 span {
    color: #3498db;
}

.welcome-text p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature i {
    color: #3498db;
    font-size: 18px;
}

/* 登录对话框 */
.login-dialog {
    background-color: #ffffff;
    width: 400px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.login-dialog h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #3498db;
    font-size: 28px;
    font-weight: bold;
}

.row {
    margin-bottom: 20px;
    position: relative;
}

.row span {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.row input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.row input:focus {
    border-color: #3498db;
}

.input-icon {
    position: absolute;
    top: 38px;
    right: 15px;
    color: #aaa;
    font-size: 18px;
}

#togglePassword {
    cursor: pointer;
}

#confirm {
    display: flex;
    align-items: center;
}

#confirm input {
    width: 60%;
    margin-right: 10px;
}

#verificationCodeImg {
    width: 100px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.captcha-hint {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    text-align: center;
}

#submit {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

#submit:hover {
    background-color: #2980b9;
}

.register-button {
    width: 100%;
    padding: 12px;
    background-color: #f8f9fa;
    color: #3498db;
    border: 1px solid #3498db;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin-top: 10px;
}

.register-button:hover {
    background-color: #eef5fc;
}

.options {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

.forgot-password {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #777;
    font-size: 14px;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 20px;
    }

    .welcome-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .welcome-text h1 {
        font-size: 36px;
    }

    .features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-dialog {
        width: 100%;
        padding: 30px 20px;
    }

    .welcome-text h1 {
        font-size: 32px;
    }
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.runner-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 60px;
    color: #3498db;
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}